gtk-demo: Expand the sidebar by default
authorMatthias Clasen <mclasen@redhat.com>
Sun, 7 Jun 2020 02:07:38 +0000 (22:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Jun 2020 02:12:12 +0000 (22:12 -0400)
Seems better to show what we have. Plus, clicking
those arrows is a little fiddly.

demos/gtk-demo/main.c

index 51846edaeb4482f0d975519e149489a9552bac73..7d5ac5477b92e37909641bee88cbc8fcc6fee719 100644 (file)
@@ -1040,7 +1040,7 @@ activate (GApplication *app)
   listmodel = create_demo_model ();
   treemodel = gtk_tree_list_model_new (FALSE,
                                        G_LIST_MODEL (listmodel),
-                                       FALSE,
+                                       TRUE,
                                        get_child_model,
                                        NULL,
                                        NULL);